import type { App, Plugin } from 'vue';
import Form,{formProps} from './form.vue';
import useForm from "./useForm";


Form.install = function(app:App){
  app.component(Form.name,Form);
  return app
}

export type { FormProps, FormInstance } from './form.vue';

export {useForm,formProps};

export default Form as typeof Form & Plugin & {
  readonly useForm : typeof useForm
}
